home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
diag
/
lv104.zip
/
LV.DOC
next >
Wrap
Text File
|
1992-08-31
|
22KB
|
484 lines
Line View Version 1.04 Manual
Created By Bennet Wong.
--- LICENSE AGREEMENT ---------------------------------------------
Line View is NOT Public Domain, but Shareware. You now have
the NON-REGISTERED version of Line View, which means you are free to
evaluate the game for 15 days, and see if it's something you might
like to keep. After 15 days, you are required to either delete the
program and all files, or register the program.
Please feel free to distribute this non-registered version so
others will be able to use it also. It must be distributed in its
complete, unaltered form (i.e., all manuals, files, etc.).
Commercial distributors of Shareware must obtain written permission
from the author before making this product available. You may charge
no more than $5 to cover the cost of disk fees, etc.
Do not de-compile or disassemble this program. Doing so, or
violating any other part of this license agreement, is a breech of
the copyright notice.
--- ORDERING INFORMATION ------------------------------------------
To register Line View, print out the form ORDER.FRM and send it
complete with U.S. funds. For more information about ordering, see
REGISTER.DOC.
--- SUPPORT ------------------------------------------------------
If you find any bugs in Line View, please write to:
Line View Support
516 View St.
Mt. View
CA 94041
Also include the following information:
Computer type (XT, 286, 386, etc.)
DOS version
VGA card type
Serial communication card type
The baud rate and the word structure
Your phone number
FAX number
Afterwards, you will be contacted as soon as possible.
--- REGISTER AND UNREGISTER ---------------------------------------
Line View is not a freeware. In order to protect myself and register
user, I have decided to remove certain feature from the unregister version.
- File capture and send
- Programmable macro keys
- Program reset function
In addition a "please register" screen will pop up randomly after
the program has processed more than 1,000 characters.
--- INTRODUCTION --------------------------------------------------
So what is Line View. I am an engineering manager of a company that
make serial device. My employee always complain to me that they
cannot find a tools to debug ours product. They need a tool that can display
HEX code, support H/W handshake, able to trap the I/O data, do through put
test ... etc. Basically they need a tool that allow them to have total
control over the serial communication port. Therefore I spend a weekend or
so to develop this S/W package. Sine most people in my company enjoy this
product, I decided to let it available to other user.
LIVE VIEW ALLOW YOU TO HAVE TOTAL CONTROL OVER THE SERIAL COMMUNICATION
LINE. IN OTHER WORD, LINE VIEW IS A HOST SIMULATOR.
Some of Line View features:
- Support CTS or DSR handshake
- Sreial device throughput (CPS) test
- Support 3 type of XON/XOFF handshake (xmt,rcv,both)
- 4 programmable function keys, each can hold 64 bytes of data
- Support up to 115,200 baud
- Support 16550 UART's FIFO mode
- User toggleable DTR and RTS line
- CTS, DSR, XOFF status monitor
- User selectable framming error detection
- 8 bit xmt mode
- CR or CR/LF mode
- Increase data viewing area
- A much faster window interface
- An much much more ......
--- INSTALLATION --------------------------------------------------
All you need to do is put the files into a directory. Line View
does not require any special setup. LV will automatic detect the amount of
free RAM on your machine and decided the best XMT and RCV ring buffer size.
LV will also detect the 16550 UART chip and automatic use the chip
FIFO mode. Due to a BUG in the Western Digital 16550 UART chips, LV may not
function correctly. After you start the program, if you saw the "16550"
sign at the bottom of your screen and LV is not working, please contact
me to receive a special version. The problem does not occurs on a National
Semiconductor 16550 UART chip.
One more thing, LV was developed on a color system, and I have
assume most people now use a color system. If the screen look funny
on your mono system, please let me know.
--- STARTING UP ---------------------------------------------------
LV should be able to run on most PC with no problem. If you are
planning to use the H/W handshake, make sure your RS232 cable has the
connection and you are not using a no handshake null modem.
To start LV, you should type:
LV <com><sp><baud><par><data><stop>
<com> Communication port COM1 or COM2. Do not put a ':' at the end.
LV will only support COM1 or COM2. Default is COM2, I assume
most people will have a mouse hook up to COM1.
<sp> Space. You must leave a space (20HEX) between <com> and <baud>.
<baud> Baud rate. LV should support anything from 100 baud to 115,200 baud.
This value must be a integer, dafault is 9600.
<par> Parity. LV support the follwing parity setting 'N' for NONE,
'O' for ODD, 'E' for EVEN. This value must be in Upper Case,
default is NONE.
<data> Data bits. LV support either 8 or 7 data bits. Default is 8.
<stop> Stop bits. LV support either 1 or 2 stop bits. Default is 1.
Example:
LV COM1 38400N81
This will set LV to Communication port 1, 38400 baud rate, No parity,
8 data bits and 1 stop bit.
After the opening credit, LV is ready to be used. The default setting
for LV is:
- COM2, 9600 baud, 8 data bits, 1 stop bit, no parity
- 7 bit xmt mode, both way XON/XOFF handshake, H/W handshake off
- DTR high, RTS high
- framming error character ignore
- VT220-8 KB emulation, line feed mode off
- Hex display mode on, and 16550 FIFO mode on. (if 16550 is in the PC)
--- GENERAL OPERATION ---------------------------------------------
After you start LV two windows will appear on the screen. The top
windows (TW) will echo the key you have press on the IBM keyboard. Please
notice that you can still use the DOS ALT-keypad command inside LV. For
people who don't know what that is, DOS allow you to access anyone of the
255 characters by holding down the <Alt> key and key in the character
decimal value on the keypad. Please be careful while using this command,
specially if you are using S/W handshake.
The lower window (RW) is use to display character being received by
the PC. You can control the display format for both windows, please read
to the COMMAND section for more information. Please notice that if you
selected XON/XOFF handshake, under certain setup the XON/XOFF signal
may not be displayed on the screen.
Line View is very easy to use, its has a very powerful command set
which make it a very powerful development tool.
--- COMMAND SET ---------------------------------------------------
Line View power is come from its rich command set. Here is a list
off its command:
F1 HELP
F2 Toggle handshake monitor
F3 Throughput test (CPS Test)
F5 - F8 User programmable macro keys
F9 Test pattern
F10 DOS Shell
Arrow Keys Pre programed macro keys
Page Up Send file
Page Down Trap file
Alt 0 Send NULL character
Alt 1 Toggle DTR signal
Alt 2 Toggle RTS signal
Alt 8 Toggle 8 bit xmt mode
Alt 9 Toggle error detection
Alt c Toggle between COM1, COM2
Alt d Change display format
Alt e Change pre programed macro keys emulation
Alt f Send down all 255 characters
Alt h Change H/W handshake
Alt l Toggle Line Feed mode
Alt p Change port setting
Alt r Reset program
Alt s Change S/W handshake
Alt x Exit
F1 (HELP)
This command cause LV to display a help screen. All screen data
will restore upon exit.
F2 (Toggle handshake monitor)
User has the choice to monitor XON/XOFF handshake by using the F2 key.
A "BLUE X" will be displayed on the lower status line to indicate
monitor mode setting. When LV is in this mode all XON/XOFF signal
received from the communication port will be displayed. Notice that
XOFF monitor mode will not work while LV is:
a. programming, sending or clearing macro keys.
b. trapping or sending file.
F3 (Throughput test)
THE DEVICE YOU PLAN TO TEST MUST SUPPORT ACK COMMAND. To verify this,
before you test the device, send down a 05 HEX (Ctrl- E). If the
device respond a 06 Hex (Ctrl - F) then the device support ACK.
Otherwise do not use this test, it will cause the PC to hang up.
This is the programmable CPS test. After you make the selection, LV will
ask you to input the test data. Test data can be any character between
0x00 to 0xFF except 0x08,0x11,0x13 and 0x7F. Test data string can be
up to 64 characters long. You will need to press the <End> button
to end the programming. Hitting the left arrow key will allow you
to correct misstake. All ctrl-character will be displayed in RED
attribute. Remember your device must support the ACK command.
LV will start a internal timmer and start sending down the test string
as soon as you press the <End> key. You can use the keyboard to stop
the test. After the user stop the test, LV will calculate the CPS
rate base on the characters it send and the value in the internal
timmer. Please notice that, LV will not start to calculate the result
until both the PC and the test device buffer is empty. Therefore it
may take a while before LV display the result.
F5 - F8 (Programmable macro keys)
Please read to the macro key section for more information.
F9 (Test pattern)
This option will cause LV to generate a test string of character and
send it down to the port. LV will also attach a CR/LF at the end of
the string. This pattern will continue until the user press a key on
the PC KB. LV will not return to normal operation (even the user stop
it by press the PC KB) until the output buffer in the PC is empty.
F10 (Shell to DOS)
This command will make LV to start a new DOS shell. All of the screen
data is saved in RAM and will restore upon exit of DOS shell. If there
are not enough RAM in the system, this command may not go through.
Arrow Key (Pre programed macro key)
Please read to the macro key section for more information.
Page UP (Send File)
This command is use to send out an ASCII file. It will stop
automatically when it reach the EOF and the xmt buffer in the PC is
empty. Hitting the ESC key on the PC KB will stop the process. If the
xmt LF mode is enable, a LF will be attached to every CR send by LV.
You also have the option to select xmt limit rate (1 CPS, 10 CPS,
or full speed).
Please noticed that while in LV is xmting the file, the file's data
will be displayed on the lower window. Do not confuse this with
incoming data.
Page Down (Trap File)
LV will first ask for two files name. The first one is where LV store
the raw ASCII data. The second file is where LV store the printable
HEX data. Each line in the printable HEX data file will have the
following format:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 abcdefghijklmnop
|---------------------------------------------| |--------------|
| |
16 bytes in HEX format |
|
The same 16 bytes in printable
ASCII format. If character is
not printabel a '.' will be
displayed.
A copy of the character will also be displayed on the screen. You can
still send data to the port through the PC keyboard.
You can turn off this function by pressing the PG DWN key again.
If XON/XOFF handshake is enable, 0x13 and 0x11 will not be capture.
Alt 0 (Send NULL character)
Normally LV will only process NULL (00 HEX) but will not send it out.
You can use this command to force LV to do so. Please notice that
you cannot program NULL character into any programmable macro keys.
Alt 1 (Toggle DTR signal) default: High
Cause LV to change the state of the DTR signal.
Alt 2 (Toggle RTS signal) default: High
Cause LV to change the state of the RTS signal.
Alt 8 (Toggle 8 bit xmt mode) default: Off
If enable, the high bit of every character send out by LV will be
set to high. For example <p> will become F0 HEX. This mode will
affect the ESC key and File Xmt, but will not affect macro keys.
Alt 9 (Error detection setting) default: Off
If enable LV will put the error character into the buffer. By putting
the error character into the buffer does not implied that the
character will be processed.
Alt c (Toggle between COM1 and COM2)
This command allow you to select between the ports. Please notice
that only the port has change, the baud rate and word structure
is not affected by this command.
Alt d (Change display format) default: HEX
There are three different selections for this mode setting. This
command will only affect incoming character, character that has
already been displayed will not be affected.
HEX: All incoming character that is between 0x00 - 0x1F,
0x7F - 0xFF will be displayed in a HEX code format. For
example a CR will be displayed as a "<0D>".
ASCII: All incoming character that is between 0x00 - 0x1F
will be displayed in their ASCII name. For example a CR
will be displayed as a "<CR>". any character that is
above 0x7f or don't have a standard ASCII name will be
displayed as "<***>".
MONITOR: All incoming character will be displayed in HEX
format.
Alt e (Change programed macro keys emulation)
Read to macro key section for more information.
Alt f (Send down all 255 characters)
This cause LV to send down all 255 character to the device in a
standard ASCII table structure.
Alt h (Change H/W handshake) default: Off
This command is use to set the H/W handshake type on LV. You will
have 3 different choice. Each time you use this command will cause
LV to disable S/W handshake.
NONE: No H/W handshake.
DSR: DSR handshake.
CTS: CTS handshake.
Alt l (Toggle Line Feed mode) default: Off
When this mode in enable, a LF will be attached to every CR send
by LV. This mode does not affect: Test pattern, CPS test and macro
keys.
Alt p (Change port setting) default: 9600,N,8,1
Change the baud rate and word structure of the current port.
Alt r (Reset program)
Cause the program to reset to default setting and clear the screen.
Alt s (Change S/W handshake) default: BOTH
This command is use to set the S/W handshake type on LV. You will
have 4 different choice. Each time you issue this command will cause
LV to reset (disable) the H/W handshake.
NONE: No S/W handshake.
BOTH: Both xmt and rcv handshake.
XMT: Xmt handshake only.
RCV: RCV handshake only.
Alt x (Exit)
Exit Line View.
--- MACRO KEYS ----------------------------------------------------
There are 4 programmable macro keys in LV (F5 - F8), each can hold up
to 64 character. Character can be from 0x01 to 0xFF. All characters that are
between 0x01 to 0x1F will be displayed with the 6th bit set to high and in RED
attribute. Example a 0x0D (CR) will be displayed as a RED "M". Character
between 0x80 to 0xFF will be displayed using the IBM high character
set.
PROGRAMMING: You can program any one of the four keys by pressing
the <ALT> and the key at the same time. A program window will be
displayed at the middle of the screen. You can key in up to 64
characters, once you reach the limit LV will generate a BEEP and
will not allow you to go on any further. Pressing the <End> key will
stop the programming and exit you back to normal mode. <Left arrow>
key will allow you to correct mistake. After you exit back to the
normal mode a programed indicator will be displayed at the screen.
CLEARING: You can clear any one of the four keys by pressing the
<CTRL> and that key at the same time. After you clear a macro key,
its indicator will be turn off.
VIEWING: To view a macro key contain, you need to press the <SHIFT>
and that key at the same time.
In Version 1.0, only the arrows keys are pre programed. They are being
programed with the cursor movement command corresponding to the keyboard
emulation. For example the <UP ARROW> in a VT200-7 emulation will send out
the string "ESC[A". You can change the code the arrow keys send out by
changing the KB emulation (Alt e).
--- STATUS DISPLAY ------------------------------------------------
The bottom status 1 display include:
<com> <params> <hs><l><dsp><xmt><err><DSR> <CTS> ... <16550> ... <DTR> <RTS>
<com>: Communication port currently active.
<params>: Word structure and baud for the active port.
<hs>: Type of handshake.
BO : Both way XON/XOFF XM : xmt XON/XOFF
RC : Receive XON/XOFF DR : DTR
CS : CTS
<l>: Line Feed Mode.
<dsp>: Display Mode.
H : HEX mode A : ASCII Display
M : Monitor
<xmt>: 8 bits xmt mode.
<err>: Error detection.
<DSR>: PC port DSR line state. (ON: high, OFF: Low)
<CTS>: PC port CTS line state
<16550>: This will show up if the PC use 16550 UART
<DTR>: PC port DTR line state.
<RTS>: PC port RTS line state.
Status 2 display is displayed at the bottom of the screen.
<Keyboard> ....... <F5> <F6> <F7> <F8>
<Keyboard>: Type of keyboard emulation.
<F5> ... <F8>: Will be turn on if user program the macro key.
There is also a clock and a total income character counter on the
screen.
--- FINAL WORD ----------------------------------------------------
English is not my mother language, and I expect a lot of language
error in this manual. I will try by best to correct them. As for the
program itself should be very dependable if you like the S/W please register.
DISCLAIMER/WARRANTY/LICENSE
~~~~~~~~~~~~~~~~~~~~~~~~~~~
THIS PROGRAM, DOCUMENTATION, AND GRAPHICS FILES ARE
COPYRIGHT 1992 BY THE AUTHOR . YOU ARE HEREBY GRANTED
PERMISSION TO FREELY DISTRIBUTE AND USE THIS PROGRAM
FOR PERSONAL USE. YOU MAY UPLOAD THIS PROGRAM TO AN
ELECTRONIC BULLETIN BOARD SYSTEM OR AN INTERNET FTP
SITE. THE REGISTERED VERSION ON THE OTHER HAND, MAY NOT BE
DISTRIBUTED.
THERE IS NO WARRANTY OF ANY KIND; THIS SOFTWARE PACKAGE IS
PROVIDED ON AN "AS-IS" BASIS. THE AUTHOR OF THIS SOFTWARE SHALL
NOT BE LIABLE FOR ANY DAMAGES WHATSOEVER THAT MAY
RESULT, DIRECTLY OR INDIRECTLY, FROM THE USE OF THIS
SOFTWARE OR DOCUMENTATION. BY OWNING A COPY OF AND OR USING
THIS SOFTWARE, YOU AGREE TO ALL THE ABOVE TERMS.